// [[ OnflowGenerator File UUID: 496797cfb7e2445f92bb0229a6a9527f  ]]
package com.itdct.onflow.system.api.mapper;

import com.itdct.onflow.core.mapper.BaseMapper;
import com.itdct.onflow.core.vo.KeyLabelValueVo;
import com.itdct.onflow.system.api.entity.SysApiMenuEntity;
import com.itdct.onflow.system.api.qo.SysApiMenuSearchQo;
import com.itdct.onflow.system.api.vo.SysApiMenuDetailVo;
import com.itdct.onflow.system.api.vo.SysApiMenuListVo;

import org.apache.ibatis.annotations.Mapper;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;

import java.util.List;

/**
 * @author DCTANT
 * @date 2025-09-05 16:31:45
 * @version 1.0
 * @description 系统接口菜单关联查询工具
 */
@Mapper
public interface SysApiMenuMapper extends BaseMapper<SysApiMenuEntity> {
    @Nullable
    SysApiMenuDetailVo findById(Long id);

    @NotNull
    List<SysApiMenuListVo> findByList(SysApiMenuSearchQo qo);

    // [[ OnflowGenerator Range (- selectFunctions -) Start ]]
    @NotNull
    List<KeyLabelValueVo> selectApiIdList(SysApiMenuSearchQo qo);

    @NotNull
    List<KeyLabelValueVo> selectMenuIdList(SysApiMenuSearchQo qo);

// [[ OnflowGenerator Range (- selectFunctions -) End ]]

}
